/*
 * OpenFileAction.java
 *
 * Created on March 7, 2005, 11:29 AM
 */

package com.bff.mpd.musicjukebox.lib.actions;

import com.bff.mpd.musicjukebox.ui.settings.OutputDialog;
import com.bff.mpd.utils.Utils;
import java.awt.Component;
import javax.swing.*;
import java.awt.event.*;
/**
 *
 * @author bill
 */
public class ManageOutputsAction extends AbstractAction {

    private Component parent;
    
    public ManageOutputsAction(Component parent) {
        super(Utils.getMessage("ACTION_VIEW_OUTPUTS"));
        this.parent = parent;       
    }
    
    @Override
    public void actionPerformed(ActionEvent actionEvent) {
        JDialog dialog = 
                new OutputDialog(Utils.getParentComponent(this.parent), enabled);
        dialog.setVisible(true);
    }   

};
